function XForms_submit(params,submission){
  XForms_Core.call(this, params);
  var binding = this.getBinding();
  var control = this;
  this.getSubmission=function(){
    return XForms.binds[submission];
  }
  if(this.$element){
    this.$element.click(function(){
      control.getSubmission().submit();
    });
  }
  this.onRefresh=function(){
    this.$element.val(this.onClick());
  }
}